package com.kaifamiao.www.Thread.do0926;

public class TestMR {
    public static void main(String[] args) throws InterruptedException {
        //创建线程任务对象
        MyRunnable myRunnable = new MyRunnable();
        //创建线程对象
        Thread thread = new Thread(myRunnable,"MR壹号线程");
        //开启线程
        thread.start();
       // Thread.sleep(5000);
        for (int i = 0;i < 50; i ++) {
            System.out.println("main线程"+i);
        }

    }
}
